package org.ytor.core.sqlflow.executor;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.ytor.core.sqlflow.log.SqlLog;

/**
 * created by yangtong on 2025/8/10 18:24:29
 * <br/>
 */
public class DefaultSqlLogImpl implements SqlLog {

    Logger log = LoggerFactory.getLogger("sql");

    @Override
    public void error(String s, Throwable e) {
        log.error(s,e);
    }

    @Override
    public void error(String s, Object... args) {
        log.error(s, args);
    }

    @Override
    public void debug(String s, Object... args) {
        log.debug(s, args);
    }

    @Override
    public void trace(String s, Object... args) {
        log.trace(s, args);
    }

    @Override
    public void warn(String s, Object... args) {
        log.warn(s, args);
    }

    @Override
    public void info(String s, Object... args) {
        log.info(s, args);
    }
}
